Fix the default values of draw-value and value-pos to be the values we
authorMatthias Clasen <mclasen@redhat.com>
Wed, 18 May 2005 13:18:17 +0000 (13:18 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 18 May 2005 13:18:17 +0000 (13:18 +0000)
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkscale.c (gtk_scale_class_init): Fix the default
values of draw-value and value-pos to be the values we
actually use in _init. (#304547, Mikael Hallendal)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkscale.c

index b764999be92e6c4770d4fc8dbb60bc070e2800c1..985fbb1a70d40100bd4a425733d61e285c283c57 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-05-18  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkscale.c (gtk_scale_class_init): Fix the default
+       values of draw-value and value-pos to be the values we
+       actually use in _init. (#304547, Mikael Hallendal)
+
        * gtk/gtkcellrendererpixbuf.c: Support named icons in
        cells by adding a icon-name property. (#165777, Anders
        Carlsson)
index b764999be92e6c4770d4fc8dbb60bc070e2800c1..985fbb1a70d40100bd4a425733d61e285c283c57 100644 (file)
@@ -1,5 +1,9 @@
 2005-05-18  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkscale.c (gtk_scale_class_init): Fix the default
+       values of draw-value and value-pos to be the values we
+       actually use in _init. (#304547, Mikael Hallendal)
+
        * gtk/gtkcellrendererpixbuf.c: Support named icons in
        cells by adding a icon-name property. (#165777, Anders
        Carlsson)
index b764999be92e6c4770d4fc8dbb60bc070e2800c1..985fbb1a70d40100bd4a425733d61e285c283c57 100644 (file)
@@ -1,5 +1,9 @@
 2005-05-18  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkscale.c (gtk_scale_class_init): Fix the default
+       values of draw-value and value-pos to be the values we
+       actually use in _init. (#304547, Mikael Hallendal)
+
        * gtk/gtkcellrendererpixbuf.c: Support named icons in
        cells by adding a icon-name property. (#165777, Anders
        Carlsson)
index e3abc94b4cbe6fd2e0976bcf9f9d6b28014b172a..38724adf845d8f242b2bb729367c3a42fb365196 100644 (file)
@@ -182,7 +182,7 @@ gtk_scale_class_init (GtkScaleClass *class)
                                    g_param_spec_boolean ("draw-value",
                                                         P_("Draw Value"),
                                                         P_("Whether the current value is displayed as a string next to the slider"),
-                                                        FALSE,
+                                                        TRUE,
                                                         GTK_PARAM_READWRITE));
   
   g_object_class_install_property (gobject_class,
@@ -191,7 +191,7 @@ gtk_scale_class_init (GtkScaleClass *class)
                                                      P_("Value Position"),
                                                      P_("The position in which the current value is displayed"),
                                                      GTK_TYPE_POSITION_TYPE,
-                                                     GTK_POS_LEFT,
+                                                     GTK_POS_TOP,
                                                      GTK_PARAM_READWRITE));
 
   gtk_widget_class_install_style_property (widget_class,